package com.ruoyi.fund.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.fund.domain.DmsFundRecord;

import java.util.List;

/**
 * 资金记录Mapper接口
 * 
 * @author liuchuanfa
 * @date 2024-03-06
 */
public interface DmsFundRecordMapper  extends BaseMapper<DmsFundRecord>
{
    /**
     * 查询资金记录
     * 
     * @param id 资金记录主键
     * @return 资金记录
     */
    public DmsFundRecord selectDmsFundRecordById(Long id);

    /**
     * 查询资金记录列表
     * 
     * @param dmsFundRecord 资金记录
     * @return 资金记录集合
     */
    public List<DmsFundRecord> selectDmsFundRecordList(DmsFundRecord dmsFundRecord);

    /**
     * 新增资金记录
     * 
     * @param dmsFundRecord 资金记录
     * @return 结果
     */
    public int insertDmsFundRecord(DmsFundRecord dmsFundRecord);

    /**
     * 修改资金记录
     * 
     * @param dmsFundRecord 资金记录
     * @return 结果
     */
    public int updateDmsFundRecord(DmsFundRecord dmsFundRecord);

    /**
     * 删除资金记录
     * 
     * @param id 资金记录主键
     * @return 结果
     */
    public int deleteDmsFundRecordById(Long id);

    /**
     * 批量删除资金记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDmsFundRecordByIds(Long[] ids);
}
